package org.smth.search.persistence;

import org.smth.search.pojos.OnePost;
import org.smth.search.types.Post;
import org.smth.search.types.PostItem;

import java.util.List;

public interface DataService {

	public void savePost(PostItem item, Post post);

	public int getLastId(String board);

	public List<OnePost> getPostsWithIdGT(int id, int max);

	public List<OnePost> getPostsByIds(int... ids);

	public List getPostsStatistic();

}
